VDJPedia

登录:     



 Skin Scratchwave

Back to Skin SDK

Skin SDK: The <scratchwave> element


Displays the scratch waveform.

Parameters:

  • orientation: horizontal or vertical
  • color: The primary color for the waveform. Default: full
  • color2: The secondary color for the waveform. Only used if the primary is not full.
  • colorVocal, colorInstru, colorBeat: The colors of the shape waveform when shapes is selected in options
  • colorNoVocal, colorNoInstru, colorNoBeat: The colors of the shape waveform when shapes selected in options, waveGreyOnKill is enabled, and stems are muted. If not set will be based on the regular colors but darkened.
  • nudge: yes/no/vinylmode - when using the mouse on the waveform will nudge the song instead of scratching

Children:

  • <grid mainsize="" phrasesize="" size="" height="" pos="" maincolor="" phrasecolor="" color="" transparency="" mirrored="" background="" backgroundcolor="" mirrored="" backgroundshaded="" shapepos="" shapemirrored=""/>

    Displays the CBG grid on the scratchwave. Parameters:


  • <gridlines height="" y="" deckcolor="" mirrored=""><text dx="" dy="" /></gridlines>
  • <cue y="" height=""><text dx="" dy="" size=""/><mask width="" height="" x="" y=""/></cue>
  • <overlay/>

Example:

<scratchwave deck="left" orientation="horizontal">
<pos x="10" y="100" width="1900" height="60"/>
<grid mainsize="3" phrasesize="3" size="1" height="10" pos="0" maincolor="#008ce1" phrasecolor="yellow" color="white" transparency="1" mirrored="true" background="yes"/>
<cue y="+0" height="60">
<text dx="10" dy="-3" size="14" />
<mask width="12" height="92" x="942" y="1372"/>
</cue>
</scratchwave>




Back to Skin SDK